package com.goktech.sportsmall.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommSortBean {
    private String cs_no;  // 商品分类编号
    private String c_no; // 商品编号
    private BigDecimal cs_price; // 商品价格
    private int cs_rep; // 商品库存
    private String cs_img; // 商品分类图片
    private String cs_create_time; // 创建时间
    private String cs_sort; // 分类详情
    /****外部字段****/

    private int sc_number;
    private String c_name;
    private String c_sort;
    private int sc_id;
    /***项目外部字段***/
    private int c_count;
    private String c_detail;


    public CommSortBean(String cs_no, String c_no, BigDecimal cs_price, Integer cs_rep, String cs_img, String cs_create_time, int sc_number, String c_name, String c_sort, int sc_id) {
        this.cs_no = cs_no;
        this.c_no = c_no;
        this.cs_price = cs_price;
        this.cs_rep = cs_rep;
        this.cs_img = cs_img;
        this.cs_create_time = cs_create_time;
        this.sc_number = sc_number;
        this.c_name = c_name;
        this.c_sort = c_sort;
        this.sc_id = sc_id;
    }

    public CommSortBean(String cs_no, String c_no, BigDecimal cs_price, Integer cs_rep, String cs_img, String cs_create_time) {
        this.cs_no = cs_no;
        this.c_no = c_no;
        this.cs_price = cs_price;
        this.cs_rep = cs_rep;
        this.cs_img = cs_img;
        this.cs_create_time = cs_create_time;
    }
}
